using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Cuahsi.Data.Interop.WaterML2
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.opengis.net/waterml/2.0")]
    [XmlRoot("MeasurementTVP", Namespace = "http://www.opengis.net/waterml/2.0", IsNullable = false)]
    [DataContract(Name = "MeasureTVPType", Namespace = "http://www.opengis.net/waterml/2.0")]
    public partial class MeasureTVPType : TimeValuePairType
    {

        private MeasureType1 valueField;

        private TVPMeasurementMetadataPropertyType metadataField;

        public MeasureTVPType()
        {
            this.metadataField = new TVPMeasurementMetadataPropertyType();
            this.valueField = new MeasureType1();
        }

        [XmlElement(IsNullable = true)]
        [DataMember()]
        public MeasureType1 value
        {
            get
            {
                return this.valueField;
            }
            set
            {
                this.valueField = value;
            }
        }

        [DataMember()]
        public TVPMeasurementMetadataPropertyType metadata
        {
            get
            {
                return this.metadataField;
            }
            set
            {
                this.metadataField = value;
            }
        }
    }
}